<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script src="js/vue.js"></script>
<script src="js/axios-0.18.0.js"></script>
<form id="add">
    <input type="text" v-model="username">
    <input type="password" v-model="password">
<!--    <input type="button" value="登录" @click="demo()">-->
    <button v-on:click="demo()">登录</button>
</form>

<script>
    new Vue({
        el:"#add",
        data:{
            username:"",
            password:""
        },
        methods:{
            show(){
                alert(this.usernaem + "..." + this.password);
            }
        }

    })
</script>




</body>
</html>